Switch from sending png frames to our own encoding
authorAlexander Larsson <alexl@redhat.com>
Thu, 7 Nov 2013 11:22:38 +0000 (12:22 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 7 Nov 2013 13:09:53 +0000 (14:09 +0100)
commit5ef114ba425fe636c611840b58a5fb8e0962e1f2
tree28e62e34cd23aa8f0fb311b474eea493fd656677
parentbbfe7e0e697fdc9e5921eeaba013843218594f94
Switch from sending png frames to our own encoding

This is based on the rolling hashes code from
http://cgit.freedesktop.org/~krh/weston/log/?h=remote

It works by incrementally calculating hashes for every 32x32 block
in each frame sent, and then refering back to such blocks when
encoding the next frame. This means we detect when a block matches
an existing block in the previous frame in a different position.
This is great for detecting scrolling, which we need now that
the gdk level scrolling is neutered.
gdk/broadway/Makefile.am
gdk/broadway/broadway-buffer.c [new file with mode: 0644]
gdk/broadway/broadway-buffer.h [new file with mode: 0644]
gdk/broadway/broadway-output.c
gdk/broadway/broadway-output.h
gdk/broadway/broadway-protocol.h
gdk/broadway/broadway-server.c
gdk/broadway/broadway.js